package com.gxa.employment.entity.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author:
 * @DateTime: 2025/3/29 14:01
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "修改密码参数实体")
public class UpdatePwdDto {
    @Schema(description = "原密码",example = "123456")
    @NotBlank(message = "原密码不能为空")
    private String originalPwd;
    @Schema(description = "新密码",example = "234567")
    @NotBlank(message = "新密码不能为空")
    private String newPwd;
}